<?php
function fun_call(&$m)
{
	print_r($m);
}
$content = file_get_contents("./svn_demo.txt");
// $content =  preg_replace_callback("/\s*<pre(?:lang=[\"']([\w-]*)[\"']|file=[\"']([\w-]*\.?[\w-]*)[\"']|colla=[\"']([\+\-])[\"']|line=[\"'](\d*|n)[\"']|\s)+>(.*)<\/pre>\s*/siU", fun_call, $content);
$content =  preg_replace_callback("/\s*Revision: ([0-9]+)(.*)\s*/siU", fun_call, $content);


?>